#include <windows.h>
#include "math.h"

class Collision
{
private:
	static float middle(float a,float b,float c);
public:
	static bool Rect_Rect(RECT r1,RECT r2) ;
	static bool Rect_Circle(RECT r,float x,float y,float R);
	static bool Circle_Circle(float x1,float y1,float R1,float x2,float y2,float R2);
	static bool Point_Line(float xM,float yM,float xA,float yA,float xB,float yB);
	static float Distance(float xA,float yA,float xB,float yB);

};